services.tor.relay.onionServices.<name>.secretKey

Secret key of the onion service. If null, Tor reuses any preexisting secret key (in path) or generates a new one. The associated public key and hostname are deterministically regenerated from this file if they do not exist.

Type
null or absolute path
Default
null
Example
"/run/keys/tor/onion/expyuzz4wqqyqhjn/hs_ed25519_secret_key"
Declared
<nixpkgs/nixos/modules/services/security/tor.nix>